import request from '@/utils/request'

export function List() {
    return request({
        url: '/api/app/smart-hotel-app-menu/menu',
        method: 'get',
    })
}
export function Add(data) {
    return request({
        url: '/api/app/smart-hotel-app-menu/menu',
        method: 'post',
        data
    })
}
export function Update(data) {
    return request({
        url: '/api/app/smart-hotel-app-menu/menu',
        method: 'put',
        data
    })
}
export function Find(data) {
    return request({
        url: 'api/app/smart-hotel-app-menu/' + data + '/by-id-menu',
        method: 'get',
        data
    })
}
export function Delete(data) {
    return request({
        url: '/api/app/smart-hotel-app-menu/' + data + '/menu',
        method: 'delete',
    })
}